class ResponseModel {
  int code;
  String message;
  bool success;
  String traceId;

  ResponseModel({this.code, this.message, this.success, this.traceId});

  ResponseModel.fromJson(Map<String, dynamic> json) {
    code = json['code'];
    message = json['message'];
    success = json['success'];
    traceId = json['traceId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['code'] = this.code;
    data['message'] = this.message;
    data['success'] = this.success;
    data['traceId'] = this.traceId;
    return data;
  }
}